load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "lock",
    srcs = ["lock.go"],
    importpath = "github.com/pingcap/tidb/pkg/lock",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/infoschema",
        "//pkg/infoschema/context",
        "//pkg/lock/context",
        "//pkg/meta/metadef",
        "//pkg/parser/ast",
        "//pkg/parser/mysql",
        "//pkg/table",
    ],
)
